package com.accp.crm.entity;

import java.util.HashSet;
import java.util.List;
import java.util.Set;

/**
 * SysRight entity. @author MyEclipse Persistence Tools
 */

public class SysRight implements java.io.Serializable {

	// Fields

	private Integer rightId;
	private String rightName;
	private String rightVoid;
	private String rightAction;
	private Set sysRoleRights = new HashSet(0);
    private String [] voidlist;
    private String [] methods;
	// Constructors

	
	public String[] getMethods() {
		return methods;
	}

	public void setMethods(String[] methods) {
		this.methods = methods;
	}

	public String[] getVoidlist() {
		return voidlist;
	}

	public void setVoidlist(String[] voidlist) {
		this.voidlist = voidlist;
	}

	/** default constructor */
	public SysRight() {
	}

	/** full constructor */
	public SysRight(String rightName, String rightVoid, String rightAction,
			Set sysRoleRights) {
		this.rightName = rightName;
		this.rightVoid = rightVoid;
		this.rightAction = rightAction;
		this.sysRoleRights = sysRoleRights;
	}

	// Property accessors

	public Integer getRightId() {
		return this.rightId;
	}

	public void setRightId(Integer rightId) {
		this.rightId = rightId;
	}

	public String getRightName() {
		return this.rightName;
	}

	public void setRightName(String rightName) {
		this.rightName = rightName;
	}

	public String getRightVoid() {
		return this.rightVoid;
	}

	public void setRightVoid(String rightVoid) {
		this.rightVoid = rightVoid;
	}

	public String getRightAction() {
		return this.rightAction;
	}

	public void setRightAction(String rightAction) {
		this.rightAction = rightAction;
	}

	public Set getSysRoleRights() {
		return this.sysRoleRights;
	}

	public void setSysRoleRights(Set sysRoleRights) {
		this.sysRoleRights = sysRoleRights;
	}

}